<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>邮件地址列表</title>
<!-- Bootstrap -->
<h1>邮件地址列表</h1>
<link href="resources/css/bootstrap.min.css" rel="stylesheet"
	media="screen">
</head>
<body>
	<textarea rows="9" ><c:forEach items="${zjlList }" var="zjl">${zjl.name }&lt;${zjl.email }&gt;;</c:forEach>
</textarea>
	<button class="btn" type="button">复制</button>
	
	
	<script src="resources/js/jquery-1.9.0.min.js"></script>
	<script src="resources/js/bootstrap.min.js"></script>
<script type="text/javascript">
	$(function(){	
		ale();
	});
	function ale(){
	
	var cont = zjl.size();
    if  (cont  >= 50){
    	alert('数量过多');
    }
	else
		return null;
	}
	
	</script>
</body>
</html>